package com.filepd.service;


import com.filepd.dto.UserDto;
import com.filepd.entity.User;

public interface LoginService {

    /**
     * 登录
     * @param user
     * @return
     */
    UserDto login(User user);

    /**
     * 登出
     */
    void logout();

    /**
     * 注册
     * @param user
     * @return
     */
    boolean register(User user);
}
